#ifndef __GLEW_H__
#include <GL/glew.h>
#include <GL/wglew.h>
#endif
#include "StimTargetFixed.h"

CStimTargetFixed::CStimTargetFixed(const enum Stims::ObjType& eObjType_/* = Stims::Post*/)
:
CStimTarget(eObjType_)
{
}

CStimTargetFixed::~CStimTargetFixed(void)
{
}


void CStimTargetFixed::Update( const CMatrix<double>& mEyePos_, const double& dYaw_ )
{
    glNewList(_uTarget,GL_COMPILE);


    glMatrixMode(GL_MODELVIEW);
    glPushMatrix();
    glTranslated(_mTargetPosition(0),-_dEyeHeight,_mTargetPosition(2));

    glCallList(_uObj);

    glPopMatrix();

    glEndList();

}

std::string CStimTargetFixed::GetName()
{
    return std::string("Target, Fixed position in the world");
}